function AjustIPAssign(...args) {
    console.log(args);
    console.log("进入AjustIPAssign函数");

   // const res = Process("plugins.feishu.authurl", "zouwei","lulu");
   // console.log(res);

    let res = Process(
      "models.cmdb.ip.UpdateWhere",
      {"wheres": [{ column: "deleted_at", value: null}]},
      {"status": "unassigned"}
      );
    console.log("reset ip records-->>",res)

    let servers = Process("models.cmdb.server.Get", {
        select: ["id", "name", "ip"],
        wheres: [{ column: "deleted_at", value: null }],
      });
    
      servers.forEach((item) => {
        console.log(`${item.id} - ${item.name} ( ${item.ip} )`);
        let res = Process(
            "models.cmdb.ip.UpdateWhere",
            {"wheres": [{ "column": "name", "value": item.ip,"op":"in" }]},
            {"status": "assigned"}
         );
         console.log("reset ip records-->",res)
      });  
    // todo 处理数据逻辑
    return args;
}